#ifndef EGG_GEOMETRYLIB_H
#define EGG_GEOMETRYLIB_H

#include "Geometry.h"

namespace egg{

    class GeometryLib{
    public:
        void addGeometry(const string& name,GeometryPtr geo);
        GeometryPtr getGeometry(const string& name);
    protected:
        unordered_map<string,GeometryPtr> mGeometrys;
    };

    extern GeometryLib gGeometryLib;

}

#endif